package com.nbot.server.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.nbot.server.mapper.master.AnalogalarmMapper;
import com.nbot.server.domain.AnalogalarmDO;
import com.nbot.server.service.AnalogalarmService;



@Service
public class AnalogalarmServiceImpl implements AnalogalarmService {
	@Autowired
	private AnalogalarmMapper analogalarmMapper;
	
	@Override
	public AnalogalarmDO get(Long autoid){
		return analogalarmMapper.get(autoid);
	}
	
	@Override
	public List<AnalogalarmDO> list(Map<String, Object> map){
		return analogalarmMapper.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return analogalarmMapper.count(map);
	}
	
	@Override
	public int save(AnalogalarmDO analogalarm){
		return analogalarmMapper.save(analogalarm);
	}
	
	@Override
	public int update(AnalogalarmDO analogalarm){
		return analogalarmMapper.update(analogalarm);
	}
	
	@Override
	public int remove(Long autoid){
		return analogalarmMapper.remove(autoid);
	}
	
	@Override
	public int batchRemove(Long[] autoids){
		return analogalarmMapper.batchRemove(autoids);
	}

	@Override
	public List<AnalogalarmDO> listSwitchPoint() {
		return analogalarmMapper.listSwitchPoint();
	}

	@Override
	public AnalogalarmDO getopcdatapath(String opcpoint) {
		return analogalarmMapper.getopcdatapath(opcpoint);
	}

	@Override
	public AnalogalarmDO getByTag(String getdatapath){
		return analogalarmMapper.getByTag(getdatapath);
	}

	@Override
	public int getMaxAutoid(){
		return analogalarmMapper.getMaxAutoid();
	}
}
